Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency puppeteer to v24 #2806

Merged
merged 2 commits into from
Jan 20, 2025
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 10, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
puppeteer (source) 23.11.1 -> 24.1.0 age adoption passing confidence

Release Notes

puppeteer/puppeteer (puppeteer)

v24.1.0

Compare Source

Features
Dependencies
  • The following workspace dependencies were updated
    • dependencies
      • puppeteer-core bumped from 24.0.0 to 24.1.0
Bug Fixes

v24.0.0

Compare Source

Bug Fixes
Dependencies
  • The following workspace dependencies were updated
⚠ BREAKING CHANGES
  • remove support for Firefox over CDP (#​13427)
  • remove deprecated Launch and Connect options (#​13426)
  • include URL fragment into URL returned by HTTPRequest/Response instances (#​13425)
Features
Code Refactoring

Configuration

📅 Schedule: Branch creation - "every weekday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/puppeteer-24.x branch from e6265bd to dbb95d6 Compare January 15, 2025 12:18
@renovate renovate bot force-pushed the renovate/puppeteer-24.x branch from dbb95d6 to f53195a Compare January 20, 2025 12:07
@barjin
Copy link
Contributor

barjin commented Jan 20, 2025

Puppeteer v24 renames the PuppeteerLaunchOptions type to LaunchOptions. The fix from my commit will fix it with the latest version, but likely break builds for users with Puppeteer < 24 installed.

The only option I see is pulling out the type declaration to Crawlee (and therefore not relying on the name of the type, but rather the contents). Wdyt @B4nan @janbuchar ?

@B4nan
Copy link
Member

B4nan commented Jan 20, 2025

yeah let's do that

Copy link
Contributor Author

renovate bot commented Jan 20, 2025

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@barjin
Copy link
Contributor

barjin commented Jan 20, 2025

On second thought, we're already using the LaunchOptions type e.g. in puppeteer-crawler here. It has been exported from puppeteer for at least 5 years under this name.

afaiac doing this could only cause issues for users with very ancient Puppeteer versions, who have been using only browser-pool separately (no puppeteer-crawler) until now. Which is IMO very niche (borderline impossible) and I'm in favor of merging as is, i.e. with the commit above.

@B4nan
Copy link
Member

B4nan commented Jan 20, 2025

Oh I see, if the type is there for so long, agreed it sounds safe'ish. Worst case we can deal with this when someone reports a problem with it.

@B4nan B4nan merged commit 8073792 into master Jan 20, 2025
16 checks passed
@B4nan B4nan deleted the renovate/puppeteer-24.x branch January 20, 2025 13:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants